package com.example.zhaojianxu.signin.bank.analysis

import android.support.v7.widget.RecyclerView
import android.view.View
import com.example.zhaojianxu.signin.bank.http.AnalysisEntity
import kotlinx.android.synthetic.main.bank_item_analysis.view.*

/**
 * create by @zhaojianxu on 2019/2/17
 */
class AnalysisViewHolder(itemView: View): RecyclerView.ViewHolder(itemView){

    fun bindData(data: AnalysisEntity){

        itemView.item_analysis_1.text = data.name
        itemView.item_analysis_2.text = data.now.toString()
        itemView.item_analysis_3.text = data.number.toString()
    }
}